package com.cskaoyan.service;


import com.cskaoyan.bean.BaseParam;
import com.cskaoyan.bean.User;
import com.cskaoyan.bean.wx_search.RegisterBo;
import com.cskaoyan.bean.wx_search.ResetBo;
import com.cskaoyan.bean.zhao_order_bean.BasePageData;

public interface UserService {
    BasePageData queryUser(String username, String mobile, BaseParam param);

    BasePageData queryAddress(Integer userId, String name, BaseParam param);

    User queryUserDetail(Integer id);

    void updateUser(User user);

    BasePageData queryCollect(Integer userId, Integer valueId, BaseParam param);

    BasePageData queryFootprint(Integer userId, Integer goodsId, BaseParam param);

    BasePageData queryHistory(Integer userId, String keyword, BaseParam param);

    BasePageData queryFeedback(Integer id, String username, BaseParam param);

    User selectUserByUsername(String username);

    void updateUserLoginInfo(Integer id, String ip, String sessionId);

    void insertUser(RegisterBo registerBo) throws Exception;

    boolean resetUserPwd(ResetBo resetBo) throws Exception;
}
